#pragma once



#include "basecharacter.h"

class CEvent;



class CEnemy :
	public CBaseCharacter
{
public:
	CEnemy(void);
	CEnemy( int HP, int AD, int AR, float AS,
				float MS, float HS, int EnemyType, int RaceID );
	virtual ~CEnemy(void);


	/* IObject interface */
	virtual void Update( float fElapsedTime );
	virtual void Render( void );
	virtual bool CheckCollision( IObject* pOther );

	/* IListener interface */
	virtual void HandleEvent( CEvent* pEvent );

	enum ENEMYTYPE { ENEMY_BASIC, ENEMY_ADV, ENEMY_SPECIAL, ENEMY_BOSS };
	enum RACE	   { RACE_CREMOUNDA, RACE_AUSOAREN, RACE_TALOHROKK, RACE_CRAVAON };

	/* Accessors */
	int		GetEnemyType( void ) const	{	return m_nEnemyType;	}
	int		GetRaceID( void ) const		{	return m_nRaceID;		}

	/* Mutators */
	void	SetEnemyType( int nType )	{	m_nEnemyType = nType;	}
	void	SetRaceID( int nID )		{	m_nRaceID = nID;		}

private:
	int			m_nEnemyType;
	int			m_nRaceID;
};

